var _EsdDynamicTransformationFunction = function($){
/**
* 命名空间定义
*/
var _EsdDynamicTransformationScript = {};
_EsdDynamicTransformationScript.navBlock = {}; // 定义区域跳转类
_EsdDynamicTransformationScript.navBlock.selector = {};
/**
* 文本链接 a
*/
//保证所有a标签都有href
$("a").each(function(){

var aHref = this.href;
if( aHref=="" || aHref==undefined ){
$(this).attr("href","javascript:void(0)");
}

//给a标签加title
var aTitle = this.title;
var aText = this.text;

if( aTitle=="" || aTitle==undefined ){
if( aText!="" || aText!=undefined ){
$(this).attr("title",$.trim(aText));
}
}

});

//select下的option添加title
$("option").each(function(){
var oTitle = this.title;
var oText = this.text;
if( oTitle=="" || oTitle==undefined ){
if( oText!="" || oText!=undefined ){
$(this).attr("title",$.trim(oText));
}
}
});

$("#searchword").attr("title","请输入关键字");
$("#searchword").attr("placeholder","请输入关键字");
$("#form_cds").parent().next().find("a").attr("title","搜索");
/**
* 图片处理片段
*/

$('img[src="./images/gat_tzxx_wb1584xy.jpg"]').attr('title','平安吉林微博群').attr('alt','平安吉林微博群');$('img[src="./images/btn_crjywblcx_gat20160405.jpg"]').attr('title','出入境业务办理查询').attr('alt','出入境业务办理查询');
$('img[src="../../images/sub_tit_bottom.gif"]').attr('title','图片装饰').attr('alt','图片装饰');
$('img[src="./images/icon_crjzj_20160426.png"]').attr('title','出入境中介').attr('alt','出入境中介');$('img[src="./images/btn_xxgkzn.jpg"]').attr('title','信息公开指南').attr('alt','信息公开指南');
$('img[src="../../../images/bg_note.jpg"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./images/bg_link0621.jpg"]').attr('title','省内公安政务网站群导航').attr('alt','省内公安政务网站群导航');$('img[src="./images/btn_xxgkml.jpg"]').attr('title','信息公开目录').attr('alt','信息公开目录');$('img[src="./images/ban_home.jpg"]').attr('title','首页').attr('alt','首页');$('img[src="./images/gabatb.png"]').attr('title','吉公网安备').attr('alt','吉公网安备');$('img[src="./images/btn_xxgkzd.jpg"]').attr('title','信息公开制度').attr('alt','信息公开制度');$('img[src="../images/P020120509505765006559.jpg"]').attr('title','政务公开').attr('alt','政务公开');
$('img[src="./images/icon_zfgk_20160426.png"]').attr('title','执法公开').attr('alt','执法公开');$('img[src="./images/gat_ddzc2017062102.jpg"]').attr('title','对党忠诚 服务人民 执法公正 纪律严明').attr('alt','对党忠诚 服务人民 执法公正 纪律严明');$('img[src="./images/gat_tzxx_wx1584xy.jpg"]').attr('title','平安吉林微信群').attr('alt','平安吉林微信群');$('img[src="./images/btn_wsbsfwzn.jpg"]').attr('title','吉林“互联网+公安”综合服务平台').attr('alt','吉林“互联网+公安”综合服务平台');$('img[src="./images/btn_jdc_gat20160405.jpg"]').attr('title','机动车违法查询').attr('alt','机动车违法查询');
$('img[src="../../images/ico_yellow.jpg"]').attr('title','图片装饰').attr('alt','图片装饰');$('img[src="./images/tit_big_jwzx.jpg"]').attr('title','警务资讯').attr('alt','警务资讯');$('img[src="./images/gat_shce20190408.jpg"]').attr('title','扫黑除恶 吉林亮剑').attr('alt','扫黑除恶 吉林亮剑');$('img[src="./images/ban_tzzc.jpg"]').attr('title','厅长致辞').attr('alt','厅长致辞');$('img[src="./images/btn_wl_gat20160405.jpg"]').attr('title','网络安全业务网上办理').attr('alt','网络安全业务网上办理');
$('img[src="./images/tit_blue1_left.jpg"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="http://121.43.68.40/exposure/images/jiucuo.png?v=2200000051"]').attr('title','无效图片').attr('alt','无效图片');$('img[src="./images/btn_xf_gat20160405.jpg"]').attr('title','消防业务网上办理').attr('alt','消防业务网上办理');$('img[src="./images/btn_crj_gat20160405.jpg"]').attr('title','出入境业务网上办理').attr('alt','出入境业务网上办理');$('img[src="./images/btn_sfz_gat20160405.jpg"]').attr('title','身份证业务办理查询').attr('alt','身份证业务办理查询');$('img[src="//dcs.conac.cn/image/red.png"]').attr('title','党政机关').attr('alt','党政机关');
$('img[src="./images/icon_jtwfcx_20160426.png"]').attr('title','交通违法缴费').attr('alt','交通违法缴费');$('img[src="./images/btn_xsjb_gat20160405.jpg"]').attr('title','线索举报').attr('alt','线索举报');$('img[src="../images/P020120509505598162364.jpg"]').attr('title','警务资讯').attr('alt','警务资讯');
$('img[src="../../images/sub_ban_left.jpg"]').attr('title','图片装饰').attr('alt','图片装饰');
$('img[src="./images/tit_blue1_right.jpg"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./images/header-0621-ga.jpg"]').attr('title','吉林省公安厅').attr('alt','吉林省公安厅');$('img[src="./images/btn_tzxx_gat20160405.jpg"]').attr('title','厅长信箱').attr('alt','厅长信箱');$('img[src="./ztzl/201907/W020190731535936295493.jpg"]').attr('title','吉林禁毒网').attr('alt','吉林禁毒网');
$('img[src="./images/icon_ems_20160426.png"]').attr('title','EMS查询').attr('alt','EMS查询');
$('img[src="../../images/sub_tit_lian.jpg"]').attr('title','图片装饰').attr('alt','图片装饰');$('img[src="./gzgn/spdb/201403/W020160826510744495867.jpg"]').attr('title','吉林公安视频').attr('alt','吉林公安视频');$('img[src="./images/ban_jmhd.jpg"]').attr('title','警民互动').attr('alt','警民互动');$('img[src="./images/ban_zwgk.jpg"]').attr('title','政务公开').attr('alt','政务公开');$('img[src="./images/btn_jt_gat20160405.jpg"]').attr('title','交通管理业务网上办理').attr('alt','交通管理业务网上办理');
$('img[src="./images/icon_kzyml_20160426.png"]').attr('title','刻章业名录').attr('alt','刻章业名录');$('img[src="../images/P020120509506039438000.jpg"]').attr('title','警民互动').attr('alt','警民互动');
$('img[src="../../images/sub_ban_right.jpg"]').attr('title','图片装饰').attr('alt','图片装饰');
$('img[src="./images/bg_link3.jpg"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./images/btn_hz_gat20160405.jpg"]').attr('title','户政业务网上办理').attr('alt','户政业务网上办理');
$('img[src="./images/icon_cmcx_20160426.png"]').attr('title','重名查询').attr('alt','重名查询');$('img[src="./images/btn_sel.jpg"]').attr('title','搜索').attr('alt','搜索');$('img[src="./ztzl/201907/W020190731535935211493.jpg"]').attr('title','吉林森警网').attr('alt','吉林森警网');$('img[src="./images/btn_jszjf_gat20160405.jpg"]').attr('title','驾驶证记分查询').attr('alt','驾驶证记分查询');
$('img[src="./images/icon_ksyml_20160426.png"]').attr('title','开锁业名录').attr('alt','开锁业名录');$('img[src="./images/btn_jd_gat20160405.jpg"]').attr('title','禁毒业务网上办理').attr('alt','禁毒业务网上办理');
$('img[src="./images/tit_big_round.jpg"]').attr('title','装饰图片').attr('alt','装饰图片');$('img[src="./images/btn_za_gat20160405.jpg"]').attr('title','治安业务网上办理').attr('alt','治安业务网上办理');$('img[src="./ztzl/201907/W020190731535929714825.jpg"]').attr('title','公安机关“吉林好人”榜').attr('alt','公安机关“吉林好人”榜');$('img[src="./images/btn_hj_gat20160405.jpg"]').attr('title','户籍业务办理查询').attr('alt','户籍业务办理查询');
$('img[src="../../images/ico_gray.gif"]').attr('title','图片装饰').attr('alt','图片装饰');$('img[src="./images/btn_bf_gat20160405.jpg"]').attr('title','边防业务网上办理').attr('alt','边防业务网上办理');$('img[src="./images/btn_ysqgk.jpg"]').attr('title','依申请公开').attr('alt','依申请公开');$('img[src="./images/tit_big_wsfw.jpg"]').attr('title','网上服务').attr('alt','网上服务');$('img[src="./images/tit_big_jmhd.jpg"]').attr('title','警民互动').attr('alt','警民互动');$('img[src="./images/ban_wsfw.jpg"]').attr('title','网上服务').attr('alt','网上服务');$('img[src="./images/btn_jwb_gat20160405.jpg"]').attr('title','经文保业务网上办理').attr('alt','经文保业务网上办理');$('img[src="./images/zxzj_gat_wxy15827.jpg"]').attr('title','在线征集').attr('alt','在线征集');$('img[src="./images/zczx_gat_wxy15827.jpg"]').attr('title','政策咨询').attr('alt','政策咨询');$('img[src="./images/ban_jwzx.jpg"]').attr('title','警务资讯').attr('alt','警务资讯');$('img[src="./images/btn_jg_gat20160405.jpg"]').attr('title','监管业务网上办理').attr('alt','监管业务网上办理');$('img[src="./images/btn_xxgkndbg.jpg"]').attr('title','信息公开年度报告').attr('alt','信息公开年度报告');$('img[src="./images/tit_big_zwgk.jpg"]').attr('title','政务公开').attr('alt','政务公开');

//img
$("img").each(function(){
//给图片加alt/title
var imgAlt = this.alt,
imgTitle = this.title,
imgSrc = this.src,
parentText = this.parentElement.text;

if(this.alt=="" || this.alt==undefined){
if(imgTitle!="" && imgTitle!=undefined){
$(this).attr("alt",imgTitle);
}else if(parentText!="" && parentText!=undefined){
$(this).attr("alt",parentText);
}
}
if(this.title=="" || this.title==undefined){
if(imgAlt!="" && imgAlt!=undefined){
$(this).attr("title",imgAlt);
}else if(parentText!="" && parentText!=undefined){
$(this).attr("title",parentText);
}
}
})

$("img").each(function(){
if( (this.alt=="" && this.title=="")||(this.alt==undefined && this.title==undefined) ){
$(this).attr("title","图片");
$(this).attr("alt","图片");
}
})
/**
* 共通头部
*/
/**
* 主导航
*/
/**
* 网站所有幻灯片
*/

if(location.href=="http://gat.jl.gov.cn/" || location.href=="http://gat.jl.gov.cn/index.html"){
//首页

//轮播,右下角原点--鼠标点击触发情况

//轮播：只获取轮播中一个a标签。
//以文字a标签为主，图片a标签尽量不要，title不稳定

//轮播前的标签
_EsdDynamicTransformationScript.esdTagFrontNum1 = $("#table_fd2 a");

//获取iframe
_EsdDynamicTransformationScript.iframe0 = document.getElementsByTagName("iframe")[0].contentWindow.document;

//文字A标签
_EsdDynamicTransformationScript.esdTagANum1 = $(document.getElementsByTagName("iframe")[0].contentWindow.document).find(".focusBox-picture .pic li:eq(0) span a");
_EsdDynamicTransformationScript.esdTagANum2 = $(document.getElementsByTagName("iframe")[0].contentWindow.document).find(".focusBox-picture .pic li:eq(1) span a");
_EsdDynamicTransformationScript.esdTagANum3 = $(document.getElementsByTagName("iframe")[0].contentWindow.document).find(".focusBox-picture .pic li:eq(2) span a");
_EsdDynamicTransformationScript.esdTagANum4 = $(document.getElementsByTagName("iframe")[0].contentWindow.document).find(".focusBox-picture .pic li:eq(3) span a");
_EsdDynamicTransformationScript.esdTagANum5 = $(document.getElementsByTagName("iframe")[0].contentWindow.document).find(".focusBox-picture .pic li:eq(4) span a");

//原点
_EsdDynamicTransformationScript.esdTagCircleNum1 = $(document.getElementsByTagName("iframe")[0].contentWindow.document).find(".focusBox-picture .hd li:eq(0)");
_EsdDynamicTransformationScript.esdTagCircleNum2 = $(document.getElementsByTagName("iframe")[0].contentWindow.document).find(".focusBox-picture .hd li:eq(1)");
_EsdDynamicTransformationScript.esdTagCircleNum3 = $(document.getElementsByTagName("iframe")[0].contentWindow.document).find(".focusBox-picture .hd li:eq(2)");
_EsdDynamicTransformationScript.esdTagCircleNum4 = $(document.getElementsByTagName("iframe")[0].contentWindow.document).find(".focusBox-picture .hd li:eq(3)");
_EsdDynamicTransformationScript.esdTagCircleNum5 = $(document.getElementsByTagName("iframe")[0].contentWindow.document).find(".focusBox-picture .hd li:eq(4)");

//轮播后的标签
_EsdDynamicTransformationScript.esdTagAfterNum1 = $("#ta1 a");


//轮播前的焦点
_EsdDynamicTransformationScript.esdTagFrontNum1.focus(function (e) {
$(this).bind("keydown.keydown_0", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum1.click();
_EsdDynamicTransformationScript.esdTagANum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagFrontNum1.blur(function () {
$(this).unbind("keydown.keydown_0");
});

//第一块
_EsdDynamicTransformationScript.esdTagANum1.focus(function (e) {
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagFrontNum1.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum2.click();
_EsdDynamicTransformationScript.esdTagANum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagANum1.blur(function () {
$(this).unbind("keydown.keydown_1");
});

//第二块
_EsdDynamicTransformationScript.esdTagANum2.focus(function (e) {
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum1.click();
_EsdDynamicTransformationScript.esdTagANum1.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum3.click();
_EsdDynamicTransformationScript.esdTagANum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagANum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

//第三块
_EsdDynamicTransformationScript.esdTagANum3.focus(function (e) {
$(this).bind("keydown.keydown_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum2.click();
_EsdDynamicTransformationScript.esdTagANum2.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum4.click();
_EsdDynamicTransformationScript.esdTagANum4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagANum3.blur(function () {
$(this).unbind("keydown.keydown_3");
});

//第四块
_EsdDynamicTransformationScript.esdTagANum4.focus(function (e) {
$(this).bind("keydown.keydown_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum3.click();
_EsdDynamicTransformationScript.esdTagANum3.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagCircleNum5.click();
_EsdDynamicTransformationScript.esdTagANum5.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagANum4.blur(function () {
$(this).unbind("keydown.keydown_4");
});

//第五块
_EsdDynamicTransformationScript.esdTagANum5.focus(function (e) {
$(this).bind("keydown.keydown_5", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum4.click();
_EsdDynamicTransformationScript.esdTagANum4.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esdTagAfterNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esdTagANum5.blur(function () {
$(this).unbind("keydown.keydown_5");
});

//轮播后的焦点
_EsdDynamicTransformationScript.esdTagAfterNum1.focus(function (e) {
$(this).bind("keydown.keydown_6", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esdTagCircleNum5.click();
_EsdDynamicTransformationScript.esdTagANum5.focus();
return false;
}else if (e.keyCode == 9) {

}
});
});
_EsdDynamicTransformationScript.esdTagAfterNum1.blur(function () {
$(this).unbind("keydown.keydown_6");
});



}




/**
* 主页js
*/



if(location.href=="http://gat.jl.gov.cn/" || location.href=="http://gat.jl.gov.cn/index.html"){
//首页

document.getElementsByTagName("select")[0].title=("中央政府网站");
document.getElementsByTagName("select")[1].title=("地方政府网站");
document.getElementsByTagName("select")[2].title=("省政府直属机构");
document.getElementsByTagName("select")[3].title=("公安网站");


//关闭广告悬浮窗
//float_a = function(){}; float = function(){};


//源代码把j取值写错了，更正一下
//function card_j(num){
//	var i=num;
//	document.getElementById("cj"+i).style.display="";
//	document.getElementById("tj"+i).className="card_bg1chang";
//		for(var j=1;j<3;j++)
//		{
//				if(j!=i)
//				{
//				document.getElementById("cj"+j).style.display="none";
//				document.getElementById("tj"+j).className="card_bg2chang";
//				}
//			}
//}






// 将iframe所包含的a链接数 第一个a元素 最后一个a元素赋值给第一个参数的js对象
_EsdDynamicTransformationScript.getIframeInfos = function(jsObj,iframeObj){
jsObj.aLink_num = iframeObj.contentWindow.document.getElementsByTagName("a").length;
jsObj.first_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[0];
jsObj.last_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[jsObj.aLink_num-1];
jsObj.self = iframeObj;
};

// 声明iframe操作对象
_EsdDynamicTransformationScript.iframe1 = {};
_EsdDynamicTransformationScript.iframe2 = {};

//通过方法赋值
_EsdDynamicTransformationScript.iframeElement1 = document.getElementsByTagName("iframe")[1];   // 需要修改 这里的iframe获取
_EsdDynamicTransformationScript.iframeElement2 = document.getElementsByTagName("iframe")[2];   // 需要修改 这里的iframe获取


//选项卡标签 jquery对象
_EsdDynamicTransformationScript.iframeTab1 = $("#tab2_t1 a");  // 需要修改 这里的tab获取
_EsdDynamicTransformationScript.iframeTab2 = $("#tab2_t2 a");  // 需要修改 这里的tab获取


// 判断iframe是否有效
if((_EsdDynamicTransformationScript.iframeElement1!=undefined) && (_EsdDynamicTransformationScript.iframeElement2!=undefined)){

// 当iframe都加载完毕后执行代码 使用setInterval
_EsdDynamicTransformationScript.iframeInterval = setInterval(function(){

if((_EsdDynamicTransformationScript.iframeElement1.contentWindow.document.getElementsByTagName("a")[0]!=undefined)
&& (_EsdDynamicTransformationScript.iframeElement2.contentWindow.document.getElementsByTagName("a")[0]!=undefined) ){
clearInterval(_EsdDynamicTransformationScript.iframeInterval);

//通过方法赋值
_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe1,_EsdDynamicTransformationScript.iframeElement1);
_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe2,_EsdDynamicTransformationScript.iframeElement2);

//第一个标签 切换
_EsdDynamicTransformationScript.iframeTab1.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.iframeKeydown_1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
//					_EsdDynamicTransformationScript.iframeTab1.trigger("blur");
} else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.iframeTab1.trigger("blur");
$(_EsdDynamicTransformationScript.iframe1.self).focus();
return false;
}
});
});
_EsdDynamicTransformationScript.iframeTab1.blur(function () {
$(this).unbind("keydown.iframeKeydown_1");
});

// 第一个标签的第一个链接
$(_EsdDynamicTransformationScript.iframe1.first_aLink).focus(function () {
$(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).bind("keydown.iframeKeydown_first1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
$(this).trigger("blur");
_EsdDynamicTransformationScript.iframeTab1.focus();
return false;
} else if (e.keyCode == 9) {
}
});
});
$(_EsdDynamicTransformationScript.iframe1.first_aLink).blur(function () {
$(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).unbind("keydown.iframeKeydown_first1");
});

// 第一个标签的最后一个链接
$(_EsdDynamicTransformationScript.iframe1.last_aLink).focus(function () {
$(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).bind("keydown.iframeKeydown_first1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
} else if (e.keyCode == 9) {
$(this).trigger("blur");
_EsdDynamicTransformationScript.iframeTab2.focus();
return false;
}
});
});
$(_EsdDynamicTransformationScript.iframe1.last_aLink).blur(function () {
$(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).unbind("keydown.iframeKeydown_first1");
});


//第二个标签切换
_EsdDynamicTransformationScript.iframeTab2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.iframeKeydown_2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.iframeTab2.trigger("blur");
_EsdDynamicTransformationScript.iframeTab1.mouseover();
$(_EsdDynamicTransformationScript.iframe1.last_aLink).focus();
return false;
} else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.iframeTab2.trigger("blur");
$(_EsdDynamicTransformationScript.iframe2.self).focus();
return false;
}
});

});
_EsdDynamicTransformationScript.iframeTab2.blur(function () {
$(this).unbind("keydown.iframeKeydown_2");
});

}

}, 500);

}




//第一部分
//二层

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num1 = $("#ca1 a").length-1;
_EsdDynamicTransformationScript.num2 = $("#ca2 a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd1TagNum1 = $("#ta1 a");
_EsdDynamicTransformationScript.esd1TagNum2 = $("#ta2 a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd1TagNum1Content1 = $("#ca1 a:eq(0)");
_EsdDynamicTransformationScript.esd1TagNum2Content1 = $("#ca2 a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd1TagNum1ContentN = $("#ca1 a:eq("+_EsdDynamicTransformationScript.num1+")");
_EsdDynamicTransformationScript.esd1TagNum2ContentN = $("#ca2 a:eq("+_EsdDynamicTransformationScript.num2+")");

//第一块
_EsdDynamicTransformationScript.esd1TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd1TagNum1.blur(function () {

$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd1TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd1TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd1TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd1TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd1TagNum1.mouseover();
_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd1TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd1TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

//第二部分
//二层

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num3 = $("#cb1 a").length-1;
_EsdDynamicTransformationScript.num4 = $("#cb2 a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd2TagNum1 = $("#tb1 a");
_EsdDynamicTransformationScript.esd2TagNum2 = $("#tb2 a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd2TagNum1Content1 = $("#cb1 a:eq(0)");
_EsdDynamicTransformationScript.esd2TagNum2Content1 = $("#cb2 a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd2TagNum1ContentN = $("#cb1 a:eq("+_EsdDynamicTransformationScript.num3+")");
_EsdDynamicTransformationScript.esd2TagNum2ContentN = $("#cb2 a:eq("+_EsdDynamicTransformationScript.num4+")");

//第一块
_EsdDynamicTransformationScript.esd2TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd2TagNum1.blur(function () {

$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd2TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd2TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd2TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd2TagNum1.mouseover();
_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd2TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

//第三部分

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num5 = $("#cc1 a").length-1;
_EsdDynamicTransformationScript.num6 = $("#cc2 a").length-1;
_EsdDynamicTransformationScript.num7 = $("#cc3 a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd3TagNum1 = $("#tc1 a");
_EsdDynamicTransformationScript.esd3TagNum2 = $("#tc2 a");
_EsdDynamicTransformationScript.esd3TagNum3 = $("#tc3 a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd3TagNum1Content1 = $("#cc1 a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum2Content1 = $("#cc2 a:eq(0)");
_EsdDynamicTransformationScript.esd3TagNum3Content1 = $("#cc3 a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd3TagNum1ContentN = $("#cc1 a:eq("+_EsdDynamicTransformationScript.num5+")");
_EsdDynamicTransformationScript.esd3TagNum2ContentN = $("#cc2 a:eq("+_EsdDynamicTransformationScript.num6+")");
_EsdDynamicTransformationScript.esd3TagNum3ContentN = $("#cc3 a:eq("+_EsdDynamicTransformationScript.num7+")");

//第一块
_EsdDynamicTransformationScript.esd3TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum1.blur(function () {
$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd3TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});
//第二块
_EsdDynamicTransformationScript.esd3TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum1.mouseover();
_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

_EsdDynamicTransformationScript.esd3TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum2.focus();
return false;
}
});
});

_EsdDynamicTransformationScript.esd3TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown_s2");
});

_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd3TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown_e2");
});

//第三块
_EsdDynamicTransformationScript.esd3TagNum3.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd3TagNum2.mouseover();
_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd3TagNum3Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd3TagNum3.blur(function () {
$(this).unbind("keydown.keydown_3");
});

//第四部分

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num8 = $("#ce1 a").length-1;
_EsdDynamicTransformationScript.num9 = $("#ce2 a").length-1;
_EsdDynamicTransformationScript.num10= $("#ce3 a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd4TagNum1 = $("#te1 a");
_EsdDynamicTransformationScript.esd4TagNum2 = $("#te2 a");
_EsdDynamicTransformationScript.esd4TagNum3 = $("#te3 a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd4TagNum1Content1 = $("#ce1 a:eq(0)");
_EsdDynamicTransformationScript.esd4TagNum2Content1 = $("#ce2 a:eq(0)");
_EsdDynamicTransformationScript.esd4TagNum3Content1 = $("#ce3 a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd4TagNum1ContentN = $("#ce1 a:eq("+_EsdDynamicTransformationScript.num8+")");
_EsdDynamicTransformationScript.esd4TagNum2ContentN = $("#ce2 a:eq("+_EsdDynamicTransformationScript.num9+")");
_EsdDynamicTransformationScript.esd4TagNum3ContentN = $("#ce3 a:eq("+_EsdDynamicTransformationScript.num10+")");

//第一块
_EsdDynamicTransformationScript.esd4TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd4TagNum1.blur(function () {
$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd4TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});
//第二块
_EsdDynamicTransformationScript.esd4TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum1.mouseover();
_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

_EsdDynamicTransformationScript.esd4TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown_s2");
});

_EsdDynamicTransformationScript.esd4TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown_e2");
});

//第三块
_EsdDynamicTransformationScript.esd4TagNum3.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd4TagNum2.mouseover();
_EsdDynamicTransformationScript.esd4TagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd4TagNum3Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd4TagNum3.blur(function () {
$(this).unbind("keydown.keydown_3");
});

//第五部分

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num11 = $("#cd1 a").length-1;
_EsdDynamicTransformationScript.num12 = $("#cd2 a").length-1;
_EsdDynamicTransformationScript.num13 = $("#cd3 a").length-1;
_EsdDynamicTransformationScript.num14 = $("#cd4 a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd5TagNum1 = $("#td1 a");
_EsdDynamicTransformationScript.esd5TagNum2 = $("#td2 a");
_EsdDynamicTransformationScript.esd5TagNum3 = $("#td3 a");
_EsdDynamicTransformationScript.esd5TagNum4 = $("#td4 a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd5TagNum1Content1 = $("#cd1 a:eq(0)");
_EsdDynamicTransformationScript.esd5TagNum2Content1 = $("#cd2 a:eq(0)");
_EsdDynamicTransformationScript.esd5TagNum3Content1 = $("#cd3 a:eq(0)");
_EsdDynamicTransformationScript.esd5TagNum4Content1 = $("#cd4 a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd5TagNum1ContentN = $("#cd1 a:eq("+_EsdDynamicTransformationScript.num11+")");
_EsdDynamicTransformationScript.esd5TagNum2ContentN = $("#cd2 a:eq("+_EsdDynamicTransformationScript.num12+")");
_EsdDynamicTransformationScript.esd5TagNum3ContentN = $("#cd3 a:eq("+_EsdDynamicTransformationScript.num13+")");
_EsdDynamicTransformationScript.esd5TagNum4ContentN = $("#cd4 a:eq("+_EsdDynamicTransformationScript.num14+")");

//第一块
_EsdDynamicTransformationScript.esd5TagNum1.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum1Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum1.blur(function () {
$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd5TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});
//第二块
_EsdDynamicTransformationScript.esd5TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd5TagNum1.mouseover();
_EsdDynamicTransformationScript.esd5TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum2Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

_EsdDynamicTransformationScript.esd5TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown_s2");
});

_EsdDynamicTransformationScript.esd5TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown_e2");
});

//第三块
_EsdDynamicTransformationScript.esd5TagNum3.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd5TagNum2.mouseover();
_EsdDynamicTransformationScript.esd5TagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum3Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum3.blur(function () {
$(this).unbind("keydown.keydown_3");
});

_EsdDynamicTransformationScript.esd5TagNum3Content1.focus(function () {
$(this).bind("keydown.keydown_s3", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum3Content1.blur(function () {
$(this).unbind("keydown.keydown_s3");
});

_EsdDynamicTransformationScript.esd5TagNum3ContentN.focus(function () {
$(this).bind("keydown.keydown_e3", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum3ContentN.blur(function () {
$(this).unbind("keydown.keydown_e3");
});


//第四块
_EsdDynamicTransformationScript.esd5TagNum4.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd5TagNum3.mouseover();
_EsdDynamicTransformationScript.esd5TagNum3ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd5TagNum4Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd5TagNum4.blur(function () {
$(this).unbind("keydown.keydown_4");
});

//第六部分

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num15 = $("#cf1 a").length-1;
_EsdDynamicTransformationScript.num16 = $("#cf2 a").length-1;
_EsdDynamicTransformationScript.num17 = $("#cf3 a").length-1;
_EsdDynamicTransformationScript.num18 = $("#cf4 a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd6TagNum1 = $("#tf1 a");
_EsdDynamicTransformationScript.esd6TagNum2 = $("#tf2 a");
_EsdDynamicTransformationScript.esd6TagNum3 = $("#tf3 a");
_EsdDynamicTransformationScript.esd6TagNum4 = $("#tf4 a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd6TagNum1Content1 = $("#cf1 a:eq(0)");
_EsdDynamicTransformationScript.esd6TagNum2Content1 = $("#cf2 a:eq(0)");
_EsdDynamicTransformationScript.esd6TagNum3Content1 = $("#cf3 a:eq(0)");
_EsdDynamicTransformationScript.esd6TagNum4Content1 = $("#cf4 a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd6TagNum1ContentN = $("#cf1 a:eq("+_EsdDynamicTransformationScript.num15+")");
_EsdDynamicTransformationScript.esd6TagNum2ContentN = $("#cf2 a:eq("+_EsdDynamicTransformationScript.num16+")");
_EsdDynamicTransformationScript.esd6TagNum3ContentN = $("#cf3 a:eq("+_EsdDynamicTransformationScript.num17+")");
_EsdDynamicTransformationScript.esd6TagNum4ContentN = $("#cf4 a:eq("+_EsdDynamicTransformationScript.num18+")");

//第一块
_EsdDynamicTransformationScript.esd6TagNum1.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum1Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd6TagNum1.blur(function () {
$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd6TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd6TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd6TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd6TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});
//第二块
_EsdDynamicTransformationScript.esd6TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd6TagNum1.mouseover();
_EsdDynamicTransformationScript.esd6TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum2Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd6TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

_EsdDynamicTransformationScript.esd6TagNum2Content1.focus(function () {
$(this).bind("keydown.keydown_s2", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd6TagNum2Content1.blur(function () {
$(this).unbind("keydown.keydown_s2");
});

_EsdDynamicTransformationScript.esd6TagNum2ContentN.focus(function () {
$(this).bind("keydown.keydown_e2", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd6TagNum2ContentN.blur(function () {
$(this).unbind("keydown.keydown_e2");
});

//第三块
_EsdDynamicTransformationScript.esd6TagNum3.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_3", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd6TagNum2.mouseover();
_EsdDynamicTransformationScript.esd6TagNum2ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum3Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd6TagNum3.blur(function () {
$(this).unbind("keydown.keydown_3");
});

_EsdDynamicTransformationScript.esd6TagNum3Content1.focus(function () {
$(this).bind("keydown.keydown_s3", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum3.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd6TagNum3Content1.blur(function () {
$(this).unbind("keydown.keydown_s3");
});

_EsdDynamicTransformationScript.esd6TagNum3ContentN.focus(function () {
$(this).bind("keydown.keydown_e3", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum4.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd6TagNum3ContentN.blur(function () {
$(this).unbind("keydown.keydown_e3");
});

//第四块
_EsdDynamicTransformationScript.esd6TagNum4.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_4", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd6TagNum3.mouseover();
_EsdDynamicTransformationScript.esd6TagNum3ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd6TagNum4Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd6TagNum4.blur(function () {
$(this).unbind("keydown.keydown_4");
});

//第七部分
//二层

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num19 = $("#cj1 a").length-1;
_EsdDynamicTransformationScript.num20 = $("#cj2 a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd7TagNum1 = $("#tj1 a:eq(0)");
_EsdDynamicTransformationScript.esd7TagNum2 = $("#tj2 a:eq(0)");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd7TagNum1Content1 = $("#cj1 a:eq(0)");
_EsdDynamicTransformationScript.esd7TagNum2Content1 = $("#cj2 a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd7TagNum1ContentN = $("#cj1 a:eq("+_EsdDynamicTransformationScript.num19+")");
_EsdDynamicTransformationScript.esd7TagNum2ContentN = $("#cj2 a:eq("+_EsdDynamicTransformationScript.num20+")");

//第一块
_EsdDynamicTransformationScript.esd7TagNum1.focus(function (e) {

try {
card_j(1);
} catch(e){

}

$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd7TagNum1Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd7TagNum1.blur(function () {
$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd7TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd7TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd7TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd7TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd7TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd7TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd7TagNum2.focus(function (e) {
try {
card_j(2);
} catch(e){

}
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
try {
card_j(1);
} catch(e){

}
_EsdDynamicTransformationScript.esd7TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd7TagNum2Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd7TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});

//第八部分
//二层

//各个选项名称对应的内容数量
_EsdDynamicTransformationScript.num21 = $("#ck1 a").length-1;
_EsdDynamicTransformationScript.num22 = $("#ck2 a").length-1;

//各个选项名称
_EsdDynamicTransformationScript.esd8TagNum1 = $("#tk1 a");
_EsdDynamicTransformationScript.esd8TagNum2 = $("#tk2 a");

//各个选项中的第一个内容
_EsdDynamicTransformationScript.esd8TagNum1Content1 = $("#ck1 a:eq(0)");
_EsdDynamicTransformationScript.esd8TagNum2Content1 = $("#ck2 a:eq(0)");

//各个选项中的最后一个内容
_EsdDynamicTransformationScript.esd8TagNum1ContentN = $("#ck1 a:eq("+_EsdDynamicTransformationScript.num21+")");
_EsdDynamicTransformationScript.esd8TagNum2ContentN = $("#ck2 a:eq("+_EsdDynamicTransformationScript.num22+")");

//第一块
_EsdDynamicTransformationScript.esd8TagNum1.focus(function (e) {

e = $(this).mouseover();
$(this).bind("keydown.keydown_1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd8TagNum1Content1.focus();
return false;
}
});

});
_EsdDynamicTransformationScript.esd8TagNum1.blur(function () {

$(this).unbind("keydown.keydown_1");
});

_EsdDynamicTransformationScript.esd8TagNum1Content1.focus(function () {
$(this).bind("keydown.keydown_s1", function (e) {
if (e.shiftKey && e.keyCode == 9) {
_EsdDynamicTransformationScript.esd8TagNum1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd8TagNum1Content1.blur(function () {
$(this).unbind("keydown.keydown_s1");
});

_EsdDynamicTransformationScript.esd8TagNum1ContentN.focus(function () {
$(this).bind("keydown.keydown_e1", function (e) {
if(e.shiftKey&&e.keyCode==9){

}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd8TagNum2.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd8TagNum1ContentN.blur(function () {
$(this).unbind("keydown.keydown_e1");
});

//第二块
_EsdDynamicTransformationScript.esd8TagNum2.focus(function (e) {
e = $(this).mouseover();
$(this).bind("keydown.keydown_2", function (e) {
if(e.shiftKey&&e.keyCode==9){
_EsdDynamicTransformationScript.esd8TagNum1.mouseover();
_EsdDynamicTransformationScript.esd8TagNum1ContentN.focus();
return false;
}else if (e.keyCode == 9) {
_EsdDynamicTransformationScript.esd8TagNum2Content1.focus();
return false;
}
});
});
_EsdDynamicTransformationScript.esd8TagNum2.blur(function () {
$(this).unbind("keydown.keydown_2");
});




//首页结束
}


/**
* 二级页
*/

// -------------------------------二级页------------------------------------

if(location.href=="http://gat.jl.gov.cn/jmhd/tzxx/ljb/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/hd/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/lhb/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/zh/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/lx/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/lf/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/ldb/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/xbf/"){
//厅长信箱
var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"姓名",title:"姓名"});
$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"地区",title:"地区"});
$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"联系方式",title:"联系方式"});
$(inputIframe).find("#frmData input:eq(3)").attr({placeholder:"工作单位",title:"工作单位"});
$(inputIframe).find("#frmData input:eq(4)").attr({placeholder:"标题",title:"标题"});
$(inputIframe).find("#frmData .xdBehavior_GhostedText").attr({placeholder:"留言内容请不要超过500字",title:"留言内容请不要超过500字"});

$(inputIframe).find("#SubmitButton").attr("title","提交");
$(inputIframe).find("#ResetButton").attr("title","重置");

}



/**
* 共通底部处理
*/
/**
* 文本链接 a
*/
//	_EsdDynamicTransformationScript.navBlock = {}; //定义区域跳转类
//	_EsdDynamicTransformationScript.navBlock.debug = true; //是否是调试模式，调试模式有红边线，非调试模式关闭红边框
//	//定义跳转 使用jquery选择器语法
//	_EsdDynamicTransformationScript.navBlock.selector = {};




//面包屑导航（除首页）
if( $(".CurrChnlCls").length > 0 ){

//目录页的翻页input处理
$("#num").attr("title","跳转到第多少页");
$("#num").attr("placeholder","跳转到第多少页");
$("input[type='submit']").attr("title","提交");
$("input[type='submit']").attr("placeholder","提交");

$("center>table:eq(0)").attr("id","header");
_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
$("center>table:eq(1)").attr("id","nav");
_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
$("center>table:last").attr("id","footer");
_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
$("center>table:eq(3)").attr("id","main");
_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
$("center>table:eq(3) tbody tr>td:eq(0)").attr("id","left");
_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
$("center>table:eq(3) tbody tr>td:eq(0)").next().attr("id","right");
_EsdDynamicTransformationScript.navBlock.selector.right = "#right";
$("#zoom").attr("id","content");
_EsdDynamicTransformationScript.navBlock.selector.content = "#content";

$("body > center > table:nth-child(16)").addClass("navBlock");
$("center>table:eq(2)").addClass("navBlock");
$("center>table:eq(3)").addClass("navBlock");
$("center>table:eq(3) tbody tr>td:eq(0)").addClass("navBlock");
$("center>table:eq(3) tbody tr>td:eq(0)").next().addClass("navBlock");
$("#zoom").addClass("navBlock");

_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
}



if(location.href=="http://gat.jl.gov.cn/" || location.href=="http://gat.jl.gov.cn/index.html"){
//首页

//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
$("center>table:eq(0)").attr("id","header");
_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
$("center>table:eq(0) table:eq(1)").attr("id","nav");
_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
$("center>table:eq(11)").attr("id","footer");
_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
$("center>table:eq(3)").attr("id","main");
_EsdDynamicTransformationScript.navBlock.selector.main = "#main";

_EsdDynamicTransformationScript.navBlock.selector.left = "#left";

_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
$("#table_fd2").addClass("navBlock");
$("center>table:eq(3) tbody tr td>table:eq(1) tbody tr>td:eq(0) .bor_blue").addClass("navBlock");
$("center>table:eq(3) tbody tr td>table:eq(1) tbody tr>td:eq(0) .mar_t:first").addClass("navBlock");
$("center>table:eq(3) tbody tr td>table:eq(1) tbody tr .pad_l>table:eq(0)").addClass("navBlock");
$("center>table:eq(3) tbody tr td>table:eq(1) tbody tr .pad_l>table:eq(2)").addClass("navBlock");
$("center>table:eq(3) tbody tr td>table:eq(2)").addClass("navBlock");
$("#tab2_t1").parent().addClass("navBlock");
$("center>table:eq(5) tbody tr>td:eq(0) .bor_blue").addClass("navBlock");
$("center>table:eq(5) tbody tr>td:eq(0) .mar_t:eq(1)").addClass("navBlock");
$("center>table:eq(5) tbody tr>td:eq(0)").next().find(".bor_blue").addClass("navBlock");
$("center>table:eq(5) tbody tr>td:eq(0)").next().next().addClass("navBlock");
$("center>table:eq(7)").addClass("navBlock");
$("center>table:eq(9) tbody tr>td:eq(0) .bor_blue").addClass("navBlock");
$("center>table:eq(9) tbody tr>td:eq(0)").next().find("table:first").addClass("navBlock");
$("center>table:eq(9) tbody tr>td:eq(0)").next().find(".bor_blue").addClass("navBlock");
$("center>table:eq(9) tbody tr>td:eq(0)").next().next().addClass("navBlock");
$("center>table:eq(10)").addClass("navBlock");


_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个

}


if(location.href=="http://gat.jl.gov.cn/ldzc/" || location.href=="http://gat.jl.gov.cn/jwzx/gayw/" || location.href=="http://gat.jl.gov.cn/zwgk/ldhd/" || location.href=="http://gat.jl.gov.cn/wsfw/fwkx/" || location.href=="http://gat.jl.gov.cn/jmhd/zxft/"){
//导航的二级页
//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
$("center>table:eq(0)").attr("id","header");
_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
$("center>table:eq(1)").attr("id","nav");
_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
$("center>table:last").attr("id","footer");
_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
$("center>table:eq(3)").attr("id","main");
_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
$("center>table:eq(3) tbody tr>td:eq(0)").attr("id","left");
_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
$("center>table:eq(3) tbody tr>td:eq(0)").next().attr("id","right");
_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
$("center>table:eq(3) table").addClass("navBlock");


_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个

}

if(location.href=="http://gat.jl.gov.cn/jmhd/tzxx/ljb/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/hd/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/lhb/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/zh/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/lx/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/lf/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/ldb/" || location.href=="http://gat.jl.gov.cn/jmhd/tzxx/xbf/"){
//厅长信箱
//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
$(".header").attr("id","header");
_EsdDynamicTransformationScript.navBlock.selector.top = "#header";

_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
$(".footer").attr("id","footer");
_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
$(".main").attr("id","main");
_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
$(".main .main_l").attr("id","left");
_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
$(".main .main_r").attr("id","right");
_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
$(".main .main_l").addClass("navBlock");
$(".main .main_r").addClass("navBlock");
_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个

}







/**
* 区域导航、调试开关
*/

$(document).bind("keydown.keydown_9001", function(e) {
if (e.shiftKey && e.keyCode == 20) {
$("*").focus(function() {
$(this).css({
"outline" : "2px dashed red"
});
});
$("*").blur(function() {
$(this).css({
"outline" : "0px black"
});
});
}
});

_EsdDynamicTransformationScript.navBlock.debug = true; // 是否是调试模式，调试模式有红边线，非调试模式关闭红边框
_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
// 快捷键定义区
//_EsdDynamicTransformationScript.navBlock.key = {};

//_EsdDynamicTransformationScript.navBlock.key.top = "alt+1"; // (top)
//_EsdDynamicTransformationScript.navBlock.key.nav = "alt+2"; // (nav)
//_EsdDynamicTransformationScript.navBlock.key.main = "alt+3"; // (main)
//_EsdDynamicTransformationScript.navBlock.key.content = "alt+4"; // (content)
//_EsdDynamicTransformationScript.navBlock.key.left = "alt+5"; // (left)
//_EsdDynamicTransformationScript.navBlock.key.right = "alt+6"; // (right)
//_EsdDynamicTransformationScript.navBlock.key.footer = "alt+7"; // (footer)
//_EsdDynamicTransformationScript.navBlock.key.down = "alt+8"; // (down)
//_EsdDynamicTransformationScript.navBlock.key.up = "alt+9"; // (up);

// 以下变量主要用于区块跳转
_EsdDynamicTransformationScript.navBlock.sIndex = -1; // 当前栏目下标
_EsdDynamicTransformationScript.navBlock.maxIndex = -1; // 保存目前所有class="navBlock"的区域块总数量，栏目总量下标。
_EsdDynamicTransformationScript.navBlock.minIndex = 0; // 栏目数量起始下标

// 主要代码区域

// 导航跳转
_EsdDynamicTransformationScript.navBlock.keyShowSelect = function(i) {
$(_EsdDynamicTransformationScript.navBlock.selector.activate).each(function(index, el) {
if (i == index) {
_EsdDynamicTransformationScript.navBlock.debugView(el);
$(el).find("a").each(function(i, e) {
if (i == 0) {
$(e).focus();
}
});

}
});
}

// 获取所有class=navBlock的区域的总数量，初始化轮训所有需要跳转的块
$(_EsdDynamicTransformationScript.navBlock.selector.activate).each(function(index, ehx) {
_EsdDynamicTransformationScript.navBlock.maxIndex++;
});



// 快捷键功能区域
// 跳转到头部alt+1(49)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 49) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.top);
}

});
// 跳转到导航alt+2(50)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 50) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.nav);
}

});
// 跳转到主要区域alt+3(51)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 51) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.main);
}
});

// 跳转到正文区域alt+4(52)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 52) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.content);
}
});

// 跳转到左区域alt+5(53)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 53) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.left);
}
});

// 跳转到右区域alt+6(54)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 54) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.right);
}
});
// 跳转到底部alt+7(55)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 55) {
_EsdDynamicTransformationScript.navBlock.keySelectScroll(_EsdDynamicTransformationScript.navBlock.selector.footer);
}
});
//前进alt+8(56)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 56) {
if (_EsdDynamicTransformationScript.navBlock.sIndex < _EsdDynamicTransformationScript.navBlock.maxIndex) {
_EsdDynamicTransformationScript.navBlock.sIndex++;
_EsdDynamicTransformationScript.navBlock.keyShowSelect(_EsdDynamicTransformationScript.navBlock.sIndex);
}
}
});

// 后退alt+9(57)
$(document).keydown(function(e) {
if (e.altKey && e.keyCode == 57) {
if (_EsdDynamicTransformationScript.navBlock.sIndex > _EsdDynamicTransformationScript.navBlock.minIndex) {
_EsdDynamicTransformationScript.navBlock.sIndex--;
_EsdDynamicTransformationScript.navBlock.keyShowSelect(_EsdDynamicTransformationScript.navBlock.sIndex);
}
}
});
// 特定区域跳转
_EsdDynamicTransformationScript.navBlock.keySelectScroll = function(id) {
if ($(id).length > 0) {
_EsdDynamicTransformationScript.navBlock.appendIns(id,true);//插入ins
_EsdDynamicTransformationScript.navBlock.debugView(id);
$(id).find("a").each(function(index) {
if (index == 0) {
$(this).focus();
}
});
_EsdDynamicTransformationScript.navBlock.appendIns(id,false);//清楚ins
} else {
}

}
//为了解决漂浮高等于0的情况下区域显示是一条线
_EsdDynamicTransformationScript.navBlock.appendIns=function(id,b){
if(b==true){
$(id).append("<ins id='esdNavBlockIns' style='clear: both;display: block;'></ins>")
}else{
$("#esdNavBlockIns").remove();
}
}

if (_EsdDynamicTransformationScript.navBlock.debug == true) {
// 如果开启调试模式，添加调试绘制矩形边线
$("body").append("<div id='show_top' class='lineshow'></div>");
$("body").append("<div id='show_bottom' class='lineshow'></div>");
$("body").append("<div id='show_left' class='lineshow'></div>");
$("body").append("<div id='show_right' class='lineshow'></div>");
$(".lineshow").css({
"display" : "none"
});
}
// 开启调试模式后会显示红边
_EsdDynamicTransformationScript.navBlock.debugView = function(e) {
if (_EsdDynamicTransformationScript.navBlock.debug == true) {
var x = $(e).offset();
//var w = parseInt($(e).css("width"));
var w = $(e).outerWidth();//返回元素的宽度（包含 padding 和 border）
//var h = parseInt($(e).css("height"));
var h = $(e).outerHeight();//返回元素的高度（包含 padding 和 border）
$("#show_top").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top,
"left" : x.left,
"width" : w,
"height" : "0px"
});
$("#show_bottom").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top + h,
"left" : x.left,
"width" : w,
"height" : "0px"
});
$("#show_left").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top,
"left" : x.left,
"width" : "0px",
"height" : h
});
$("#show_right").css({
"z-index" : "9999",
"border" : "red 2px solid",
"position" : "absolute",
"top" : x.top,
"left" : x.left + w,
"width" : "0px",
"height" : h
});
$("html,body").animate({
scrollTop : $("#show_top").offset().top
}, 200);
$(".lineshow").css({
"display" : "block"
});
}
}
};
/**
* 主入口方法
*/

if (window.jQuery == undefined) {
var wzaInitInterval = setInterval(function(){
if(document.body!=null){
clearInterval(wzaInitInterval);
//			var originalWindowOnload = null;
//			if(window.onload!=null){
//				originalWindowOnload = window.onload;
//			}
document.body.onload = function(){
//				originalWindowOnload();
var esdJquery = document.createElement("script");
esdJquery.setAttribute("type", "text/javascript");
esdJquery.setAttribute("src", window.location.protocol + "//" + window.location.href.split("/")[2] + "/wza/bwscript/jquery-1.12.4.min.js");
esdJquery.setAttribute("charset", "utf-8");
esdJquery.setAttribute("id", "ESDWebAppInnerIframe");
document.body.appendChild(esdJquery);
var jqueryLoadInterval = setInterval(function () {
if (window.jQuery != undefined) {
clearInterval(jqueryLoadInterval);
setTimeout( _EsdDynamicTransformationFunction(jQuery) , 1000 );
//						_EsdDynamicTransformationFunction(jQuery)
}
}, 500);
};
}
}, 10);
} else {
jQuery(function(){
setTimeout( _EsdDynamicTransformationFunction(jQuery) , 1000 );
//		_EsdDynamicTransformationFunction(jQuery)
})

}
